package com.csvw.skr.basic.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by Administrator on 2016/9/24.
 */
@Entity
@Table(name="csvw_skr_attachment")
public class Attachment {
    @Id
    @Column(name="pk_id", length = 50)
    private String id;
    @Column(length = 50)
    private String name;
    @Column(length = 100)
    private String location;

    @Column(length = 50)
    private String creater="";

    private Date created;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }
}
